package com.peas.platform.module.icims.contract.initial.dto;

import java.util.*;

import com.peas.platform.common.core.annotation.Comment;
import com.peas.platform.common.core.dto.BaseDto;
import com.peas.platform.framework.mybatisplus.annotation.Condition;
import com.peas.platform.framework.mybatisplus.annotation.ConditionOperator;
import lombok.Data;
import lombok.EqualsAndHashCode;

// 初始合同执行-生效
@Data
@EqualsAndHashCode(callSuper = false)
public class ContractInitialEffectDto extends BaseDto {

    // 合同ID
    // 【初始合同表】
    @Comment(value = "合同ID")
    private Long contractInitialId;

    // 批次号
    @Comment(value = "批次号")
    private String batch;

    // 生效经办人
    // 【用户表】
    @Comment(value = "生效经办人")
    private Long effectUserId;

    // 生效经办人部门
    // 【组织架构表】
    @Comment(value = "生效经办人部门")
    private Long effectDepartmentId;

    // 附件ID
    // 【附件表】
    @Comment(value = "附件ID")
    private Long attachmentId;

    // 附件名称
    @Comment(value = "附件名称")
    private String attachmentName;

    // 附件URL
    @Comment(value = "附件URL")
    private String attachmentUrl;

    // 附件大小
    @Comment(value = "附件大小")
    private Long attachmentSize;

    // 附件上传时间
    @Comment(value = "附件上传时间")
    private Date attachmentUpload;

    // 附件上传人
    @Comment(value = "附件上传人")
    private String attachmentUploader;

    // 备注
    @Comment(value = "备注")
    private String remark;

    // 生效状态
    // 枚举取值:ContractInitialEffectState
    @Comment(value = "生效状态", enumType = "ContractInitialEffectState")
    @Condition(operator = ConditionOperator.IN)
    private String state;

    //Criteria
    private Date createTimeStart;
    private Date createTimeEnd;
    private Date updateTimeStart;
    private Date updateTimeEnd;
    private Date attachmentUploadStart;
    private Date attachmentUploadEnd;
}
